

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>贡献 &mdash; OSDA Project 3.5.0 documentation</title>
  

  
  
    <link rel="shortcut icon" href="_static/favicon.ico"/>
  
  
  

  

  
  
    

  

  
    <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="设计" href="guides.html" />
    <link rel="prev" title="许可" href="license.html" /> 

  
  <script src="_static/js/modernizr.min.js"></script>

</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">

    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search">
          

          
            <a href="index.html"> OSDA Project
          

          
          </a>

          
            
            
              <div class="version">
                3.5.0
              </div>
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="搜索" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">入门</a></li>
<li class="toctree-l1"><a class="reference internal" href="license.html">许可</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">贡献</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#id2">创建议题</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id3">提交更改</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id5">编码管理</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="guides.html">设计</a></li>
<li class="toctree-l1"><a class="reference internal" href="api.html">API参考</a></li>
</ul>

            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="index.html">OSDA Project</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="index.html">OSDA Project</a> &raquo;</li>
        
      <li>贡献</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="id1">
<h1>贡献<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
<div class="section" id="id2">
<h2>创建议题<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
<p>在向项目创建一个 Issue 时，请确保包含标题和清晰的描述。如果有需要，请提供尽可能多的相关信息，以及代码示例或可执行测试用例，以展示未发生的预期行为。</p>
</div>
<div class="section" id="id3">
<h2>提交更改<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
<p>在向项目发起一个 Pull Request 时，请您清楚的列出您完成的具体内容（关于 Pull Request的更多信息请 <a class="reference external" href="https://help.github.com/cn/articles/proposing-changes-to-your-work-with-pull-requests">点击此处</a>）。</p>
<p>请始终为您的 Commit 写一条清晰的日志信息。单行的日志信息适用于小的更改。但更大的更改应如下所示：</p>
<div class="highlight-Bash notranslate"><div class="highlight"><pre><span></span>$ git commit -a -s -m <span class="s2">&quot;A brief summary of the commit</span>
<span class="s2">&gt;</span>
<span class="s2">&gt; A paragraph describing what changed and its impact.&quot;</span>
</pre></div>
</div>
<p>或（建议使用 -S 选项对您的 commit 进行 GPG 签名）</p>
<div class="highlight-Bash notranslate"><div class="highlight"><pre><span></span>$ git commit -a -S -m <span class="s2">&quot;A brief summary of the commit</span>
<span class="s2">&gt;</span>
<span class="s2">&gt; A paragraph describing what changed and its impact.&quot;</span>
</pre></div>
</div>
<p>对于 A brief summary of the commit 请遵守针对互联网公民的简单提交约定（参考：<a class="reference external" href="https://github.com/commitizen/cz-cli">commitizen</a>）。</p>
</div>
<div class="section" id="id5">
<h2>编码管理<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>所有的条件代码都需要 {}，且 { 是另起一行，而不是跟随在语句后面</p></li>
<li><p>所有的视图（View）使用 xaml</p></li>
<li><p>尽可能的避免在视图（View）中包含逻辑代码</p></li>
</ul>
</div>
</div>


           </div>
           
          </div>
          <footer>
  
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
      
        <a href="guides.html" class="btn btn-neutral float-right" title="设计" accesskey="n" rel="next">下一篇</a>
      
      
        <a href="license.html" class="btn btn-neutral" title="许可" accesskey="p" rel="prev">上一篇</a>
      
    </div>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2019, OSDA Project members and individual contributors.
      Last updated on Oct 30, 2019.

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/unitedstack/sphinx_rtd_theme">theme</a> provided by <a href="https://github.com/unitedstack">UnitedStack</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  

    <script type="text/javascript">
        var DOCUMENTATION_OPTIONS = {
            URL_ROOT:'./',
            VERSION:'3.5.0',
            LANGUAGE:'None',
            COLLAPSE_INDEX:false,
            FILE_SUFFIX:'.html',
            HAS_SOURCE:  true,
            SOURCELINK_SUFFIX: '.txt'
        };
    </script>
      <script type="text/javascript" src="_static/jquery.js"></script>
      <script type="text/javascript" src="_static/underscore.js"></script>
      <script type="text/javascript" src="_static/doctools.js"></script>
      <script type="text/javascript" src="_static/language_data.js"></script>

  

  
  
    <script type="text/javascript" src="_static/js/theme.js"></script>
  

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script> 

</body>
</html>